home *** CD-ROM | disk | FTP | other *** search
/ Fine Art Gallery Builder / Fine Art Gallery Builder.iso / pc / Fine_Art_Library / 1_034.swf / scripts / frame_3 / DoAction.as
Encoding:
Text File  |  2005-06-15  |  961 b   |  40 lines

  1. if(isFirstPass)
  2. {
  3.    bigClip._xscale = 25;
  4.    bigClip._yscale = 25;
  5.    thisObject.currentHeight = bigClip._height;
  6.    thisObject.currentWidth = bigClip._width;
  7.    _root.galleryWallAttached.setScale();
  8.    isFirstPass = false;
  9. }
  10. var limits = bigClip.getBounds(this);
  11. titleBox._y = limits.yMax + 10;
  12. numVal.selectable = false;
  13. hitSpaceBig.onPress = function()
  14. {
  15.    mousePress();
  16. };
  17. hitSpaceBig.onRelease = function()
  18. {
  19.    hitSpaceBig._height = bigClip._height;
  20.    hitSpaceBig._width = bigClip._width;
  21.    hitSpaceBig._x = 300;
  22.    hitSpaceBig._y = 300;
  23.    mouseRelease();
  24. };
  25. titleBox.onPress = function()
  26. {
  27.    _root.galleryWallAttached.selectCurrent(thisMovieClip);
  28.    _root.descripBoxAttached._visible = true;
  29.    _root.descripBoxAttached.descripTex = thisObject.description;
  30.    _root.setCursor(-1);
  31. };
  32. titleBox.onRollOver = function()
  33. {
  34.    _root.setCursor(304);
  35. };
  36. titleBox.onRollOut = function()
  37. {
  38.    _root.setCursor(-1);
  39. };
  40.